package py.com.alfa.escriba.persistence.dto.admin;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;


@JsonIgnoreProperties(ignoreUnknown = true)
public class ClienteDTO {

	private Long id;
	private PersonaDTO persona;
	private boolean activo;
	private Long trn;
	
	public ClienteDTO() {}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public boolean isActivo() {
		return activo;
	}

	public void setActivo(boolean activo) {
		this.activo = activo;
	}

	public Long getTrn() {
		return trn;
	}

	public void setTrn(Long trn) {
		this.trn = trn;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ClienteDTO [id=");
		builder.append(id);
		builder.append(", activo=");
		builder.append(activo);
		builder.append(", trn=");
		builder.append(trn);
		builder.append("]");
		return builder.toString();
	}

	public PersonaDTO getPersona() {
		return persona;
	}

	public void setPersona(PersonaDTO persona) {
		this.persona = persona;
	}
	
	
}
